﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace NeedForSmash
{
    class AnimationSprite
    {
        private int m_duration; // Milliseconds
        public int Duration
        {
            get
            {
                return m_duration;
            }
            set
            {
                m_duration = value;
            }
        }

        private Vector2 m_textureUpperLeft;
        public Vector2 TextureUpperLeft
        {
            get
            {
                return m_textureUpperLeft;
            }
            set
            {
                m_textureUpperLeft = value;
            }
        }

        private Vector2 m_textureUpperRight;
        public Vector2 TextureUpperRight
        {
            get
            {
                return m_textureUpperRight;
            }
            set
            {
                m_textureUpperRight = value;
            }
        }

        private Vector2 m_textureLowerLeft;
        public Vector2 TextureLowerLeft
        {
            get
            {
                return m_textureLowerLeft;
            }
            set
            {
                m_textureLowerLeft = value;
            }
        }

        private Vector2 m_textureLowerRight;
        public Vector2 TextureLowerRight
        {
            get
            {
                return m_textureLowerRight;
            }
            set
            {
                m_textureLowerRight = value;
            }
        }

        public AnimationSprite()
        {

        }

        public AnimationSprite(Vector2 tul, Vector2 tur, Vector2 tll, Vector2 tlr, int duration)
        {
            m_duration = duration;
            m_textureUpperLeft = tul;
            m_textureUpperRight = tur;
            m_textureLowerLeft = tll;
            m_textureLowerRight = tlr;
        }
    }
}
